<template>
  <div class="label-value-row">
    <div class="label" :style="{'font-size': size + 'px'}">{{ label }}</div>
    <div class="value" :style="{'font-size': parseInt(size) + 4 + 'px'}">{{ value }}</div>
  </div>
</template>

<script>
export default {
  props: {
    label: {
      type: String,
      required: true
    },
    value: {
      type: [String, Number],
      required: true
    },
    size: {
      type: [String, Number],
      default: 16
    }
  }
};
</script>

<style lang="scss" scoped>
.label-value-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 16px;
  .value {
    font-size: 20px;
  }
}
</style>
